partway through refactoring boosted training