started the project and copied over code given during the lecture (15/9/2014)