Assignment 6 by Dr Redmond