made attacking/defending work