added hours check