ais_encoder far from working ...