only decrement if quality if greater than zero so swap ifs in similar way to increment method