add start hour and end hour