added a minimal oop example