Simple Example Of Design Pattern