stripped out console.logs from debugging