specing out how the rpc system will work