added quality analyzer that does the quality assessment