minor refactoring of trainingbananas