time is in seconds not ms