Refactored code, used TABs.