executed ch 5 exercise