modified time filtering method