here is my sovled assignment