counter added, text rendering tested