challenge 14: intermediate; fix error