input capture sorta working (maybe?)