tweaking chris\' Q imp to use bluebird