removed some console logging