input works