add more utility methods into IO class