code clean-up on contents at a glance for part two