adding webcamera, needs code cleaning