updates to datatool functions