add camera api functionality