Add object oriented exemple