refactor for base title up until chapter 5