new webcam method and cleaned styles