getHoursArray function added