working through oop exercises