Added aesthetics. Removed some console.log tests.