assignment 4a finished