got rid of unnecessary console.log