adding templates and generators