added some light control capabilities