Added heightCounter