wrote rmq