added basic OO demo