accessors and brightness functions