Adjusting input logic