time is old. Use time_step. Maybe it helps