provide a example for oop class