define input output type more exactly