third version of course project