changes for the new IO library