Finished hw3.3