input is working