experimental: communication to pd via java