add switching of lighttypes