This is an example to simulate how rmi works