add input and title