solution to course project