add input specification