This could have been really ugly...