change durationInHour to durationInHours