Adding initial work for Chapter5 & Chapter8