add sample camera codes