Assignment three in SOA class