first attemt at RMI