get rid of console.log debug statement