removed errent console.log calls from debugging