removed some console statements