problem 13
rushing against restart