documentation and fix identation