fixing documentation and indentation 2