inputs and search