removing template stuff