removed some console calls.