Updated from milliseconds to seconds