delete classes and war from samples