timerange selection is working