work from assignment8

manipulate this for working project