added Input Capture example, tested