removed various debug prints