updated for use in RPC v4.2.1