implemented picking from camera