Added input reset