add brightness tracking