Demonstration of Template Pattern