array counter not needed