added quality selection