some template buttons working