handle multiple qualities