proj2 initial copied from proj1
add supplement from course