removed unused intensity variable that was leftover from the main intensity removal