now uses refinements