set up time ranges
set up time ranges