ugh terribad code was terribad