Added input selector