removed some console print statements