initial modification for adding smith rpc