added improved total up/down