Removed unused code, indent, documentatino.