Temporal filtering

fix whitespace pls