updating challenge 6