solution for problem two