start rearranging stdio section