added new quality controls