removed unneeded count