working with camera plugin