Abs chapter 7

Yeah, I'm not completely sure what this is doing. I've tested it manually and it does work, however.