Working version of course project