add code of app and camera