complete Assignment 3