uses seconds instead of milliseconds