used obsolete implementation for tekartik_core, io_tools and test
reformat