complete challenge 3 and updated challenge 6