add input and output text