removes redundant console.log call