changes to check for 23rd hour