removed debug printing.