added feature for hours after midnight