camera api functions added