address and OOP example