Mapping according to hour