more repackaging, getting ready for regression trees