added meanqualitybycycle