introduced configuration attribute for displaying text - cleaned code