completed work for hw3