changed bounds for hours to be more sensible