got rid of unnecessary console logs