removed some console logging.