added OOP example