changing preprocess filter to use system millisecond time