Indented using tab, and removed some unused comments and brackets.