fixed indentation
cleaned up memread_manual