Changed to an int, made it seconds everywhere.