Integer check on seconds
Remove unnecessary variable