waiting for ouput