class6 assignment4