completed assgn 4 basic