added time range filter capability