baseTime -> beforeTime