added webcam detection