init RPC sample - calculator