added text counter and colors