added camera function--- test1