change JSONRPC to static