Sample Design Pattern Implementation