renamed brightness to value