added attack and defecse