defend before attack