counter improvments