removed old functions from data_tools