Problem 13, added timer