rename remaining to counter