initial add for solution for problem number 5