added package for template method