create counter

short circuit