Added return to seconds function.