added light functionality to targets