create quote directive but it's too slow