added minimum brightness