new example for camera api