add new io library code