hook up input