added the structure of attacking