add simple camera code