added add button to template