sample of data input and output