added functions for dimmed characters