added dimmer element
added additional dimmer functions