add camera code