Attack logic added