work on template docs and structure