learning how to document