added paintCharacters