modify exercise, add appendix