made a copy of user-doc.md to preserve loop structure