Less console.log outputs
Added comments