adjustment to lights functionality