get rid of extra console.log