made template method static