train assign task