added untested up_counter