Removed console code