Input capture working