implementing create template