an example of doing OOP PHP