added quality measure