removed debug printing