assignment 4 finally .I gonna cry :(((