Redo the input system