counter has to be long