input and output field