moved some of the logic for auto mode into the visuals engine