Completed hw3-3