change counter to newer self adapt