add remoting sample code