add memo
solved ex. 2.29