finish saving/loading training data