prog assignment 3 added