added a time-based medain filter. it kinda sucks