added anaTrain