added challenge 4 intermediate