assignment-6 oops