Brokeout the per hour and per minute code to put into a more generic place.