two stage attacker and defenser