set brightness is a single function