update runtime for problem 23