removed debug print statements