use seconds in time instead of millis