Sub Goal Solution Part 3

Solution to sub goals