committing problem 1 solution