Working webcam implementation