Use loops to decrement the quality