Make it as private method of RPC if it used only there