Changed: Moved seconds to lowest possible scope.