added trainfrac argument to v11