Set up input