got fundamental brightness code up