adding lightness again, this time refactoring _get_rate to reuse _get rather than replicating its functionality.
adding lightness again, this time refactoring _get_rate to reuse _get rather
than replicating its functionality.

GlobalNOC/simp,GlobalNOC/simp,GlobalNOC/simp,GlobalNOC/simp,GlobalNOC/simp