created custom time filter