Yeah... this should really be functions.