updated documentation and template
.