chapter5 practice code