Get the input working correctly.