counter and text display debugging
counter and text display debugging