added beginning of problem 254