added camera client code