written assignment4