added fields to trainings, some view fix