removed console statements