removed debug print-outs