added filter time functions