adding counter++