added total time recording to trainObject