camera function working