completed ch5 exercises