drawTime function is left