Added cam and camDetect.