fixing and learning how to document