updated docs, and RPC