This is part2 of challenge 6