removed some degug print statements