added methods to rmi