add all template methods