working increment counter