minor cleanup: removed some console.log calls