converting seconds logic has changed.