server part. (change rpc paramter to hashtable)