time filtering now works