set up input form