moved qe procedure to util