add one funcand some template