chapter 12 abs

Slightly unnecessary function since you only need to do this section once.