Addedd dim and bright functionalities