removed debug printers