matching Java interface to new distributed code interface.py