Adding through2-map for Exercise 12.