sample for rxcpp