samples of OOP templates