synchronous creation of input output