changed milliseconds back to seconds