implemented #8 interface template. Refactored templates.