add support for time filter
change function name for new filter