adding input and output GUI