Removed console writing