added rpc_calls.cpp