pg 45 - Fixed some bugs to do with redecleration (8/10)