changes in rmi code