setting up input