bug fix for challenge 10, challenge 1 & 2 tested and functional