finished first draft of RPC_Standalone