revised the object oriented lab