quality_loop
