Getting rid of unnecessary console statements