done with decimal counter