template stuff

added some template stuff