removed console code