added class diagram for template method