Improve the example provided for the consume macro