finished 2nd part of course project