add new io functions, tests passed.