working on doc template