The impact of interplay between electronic and steric e ff ects on the synthesis and the linear and non-linear optical properties of diketopyrrolopyrrole bearing benzofuran moieties †

An in-depth investigation of the reaction of substituted salicylaldehydes with chloroacetonitrile led to the development of new conditions for the synthesis of 2-cyanobenzofurans. The crucial improvement lies in the use of phase-transfer catalysis in the second step, i.e., intramolecular aldol type condensation. In a two-step process, the reactants were transformed into a library of 3,6-bis(benzofuran-2-yl)diketopyrrolopyrroles. We show that the presence of a methyl group in a position adjacent to the cyano functionality only slightly decreased the yield of diketopyrrolopyrroles (to 30–57%). An analysis of the relationship between the degree of polarization/planarization of aryl-diketopyrrolopyrroles and their oneand twophoton spectroscopic properties is reported. Careful design of the desired dyes and enhanced control of their ability to assume a planar molecular structure resulted in interesting photophysical properties, such as absorption and emission in the so-called biological window. Despite having less promising linear spectroscopic properties, the deplanarized molecules possess pretty strong two-photon absorbing properties. Placing methyl groups at adjacent positions to the linkage between benzofuran and the DPP core caused the formation of yellow-emitting dyes with almost quantitative fluorescence quantum yield, moderate Stokes shift and reasonable two-photon absorption cross-sections.


Introduction
The optical properties of complex organic functional dyes depend, to a large extent, not only on the particular core, but also on the character of electron-donating and electron-withdrawing substituents. 1 Previously, strongly coupled dyes linked by carbon-carbon double or triple bonds were a prevailing area of research, 2 but recently, weakly coupled chromophores containing biaryl linkages have drawn greater attention. 3 In these cases, the actual dihedral angle between various moieties of the molecule is more important. Based on the investigations by Matile and co-workers, modulation of the planarization and polarization of such push-pull chromophores has become a conceptually new approach for preparing modern fluorescent probes, which have been shown to respond to changes in the fluidity of lipid bilayer membranes. 4 Interestingly, this planarization process takes place in the ground state, allowing these novel mechanoprobes to report the changes in their environment by shifts in their absorption and excitation maxima. These mechanoprobes stand in striking contrast to the conventional planar probes, which report the viscosity of their environment by changes in their emission spectra due to deplanarization of the excited state. 5 Diketopyrrolopyrroles (DPPs), 6 which have been used as high-quality pigments, have been repositioned in research related to organic electronics over the last two decades. 7 Recently, however, a shift of paradigm has focused attention on the application of DPPs in fluorescence imaging. 8 In numerous studies, the relationship between the structure of DPPs and their linear and non-linear optical properties has been examined in great detail. [9][10][11] The replacement of benzene with aromatic five-membered rings at positions 3 and 6 of N,N′-dialkylated DPPs decreased the dihedral angle from ca. 30 to 7 degrees. 6a This smaller angle led to significant changes in the optical properties, including a bathochromic shift of absorption, 6a,12 better packing in the crystalline state, stronger charge transfer, and larger two-photon absorption crosssections. 13 In this context, thiophene-functionalized DPPs have attracted particular attention due to the high electron density of the thiophene ring, which induces strong intramolecular charge transfer with the electron poor DPP core. 14 We have chosen the well-known diketopyrrolopyrrole's core as the electron-withdrawing central moiety and the electronrich benzofuran moiety to design a library of quadrupolar dyes. We have modified the type and strength of the electrondonating substituents, the geometry of the donor, and the dihedral angle. Although replacing phenyl substituents with fivemembered heterocycles and their π-expanded analogues offers some opportunities to modulate the absorption and emission properties, the most significant change in the optical properties was achieved by expanding the DPP-core via fusion with other aromatics/dyes. Four strategies for making such compounds have been recently revealed by Zumbusch, 15 Shimizu,16 Würthner, 17 and the Gryko group. 18 Taking advantage of Matile's concept of planarization, the diaryl-DPPs would perfectly complement these previously reported approaches. Thus far, DPPs decorated with a benzofuran ring have not been extensively investigated, except for some photoinitiators 19 and our preliminary studies on two-photon absorbing materials. 20 We are interested in this particular substitution pattern because the furan-and benzofuran-derived DPPs have higher fluorescence quantum yields (Φ fl ) than the corresponding derivatives of thiophene and benzothiophene. 20 Also, the literature data suggest that the dihedral angle between the furan and the DPP core is as low as 0.9 degree. 6a,21 The goal of this work was to elaborate the synthesis of diketopyrrolopyrrole containing benzofuran moieties at positions 3 and 6 from the corresponding 2-cyanobenzofurans and to establish a relationship between their structural and optical properties. We aimed to identify the molecule(s) possessing both appreciable linear (i.e., high fluorescence quantum yield) and non-linear (i.e., large two-photon absorption cross-section) properties. The two-photon absorbing properties of DPPs have rarely been studied despite the fact that their electron-poor core seems to be an excellent starting point for the construction of D-A-D or A-D architectures, which are important for generating large two-photon absorption crosssections. 20,22 Therefore, we have also investigated how the structure of the benzofuran moiety and its ability for planarization will affect the nonlinear properties of DPPs.

Design and synthesis
Our design of N,N′-dialkyldiketopyrrolopyrroles was based on enhancing the push-pull effect within the DPP molecules by locating two electron-donating groups, the MeO and amino groups, on benzofuran moieties. Two different modifications have been introduced. Since it is well known that the position of the electron-donating groups has a paramount influence on the absorption and, especially, emission of various dyes, 23 our first modification was to locate the methoxy substituent at different positions around the benzene ring of benzofuran. We also modified the character of the dialkylamino group via elongating the alkyl chains (to achieve good solubility of the pigment itself ) and via bridging, which is known to cause bathochromic shifts 24 and enhance the fluorescence quantum yields. 25 Previous studies, with mostly coumarin and xanthene dyes, have indicated that bridging had an immense influence on the optical properties. 24,25 Heavy atoms also often influence the properties of organic fluorophores, and therefore bromine was also used. The most important element of our design, however, was the introduction of methyl groups at positions adjacent to the linkage between the benzofuran moieties and the DPP core. We expected the presence of the methyl group to significantly influence both the linear and non-linear optical properties via an increase of the dihedral angle between the benzofuran moieties and the DPP core.
Our synthetic strategy required access to 2-cyanobenzofurans and 2-cyano-3-methylbenzofurans. Although the literature 26 stated that 2-cyanobenzofurans could be synthesized in a one-pot process directly from salicylaldehydes and chloroacetonitrile, the reality was more complex. The procedure consisting of a Williamson etherification followed by an intramolecular aldol type reaction did not always work efficiently. Indeed, only in the case of salicylaldehydes 1h 20b and 1i containing a dialkylamino group at position 6 did this literature procedure (Method C, Table 1) work efficiently as a one-pot process giving rise directly to nitriles 3h and 3i. In almost all other cases the original methodology failed (Table 1). The notable exceptions were aldehydes 1e and 1f which were also successfully transformed into the corresponding benzofurans 3e and 3f in moderate yields (Table 1). In the remaining cases, the yields were below the detection limit or at best below 5%.
We therefore opted to perform both steps under different conditions. The replacement of ClCH 2 CN with BrCH 2 CN and/ or replacing DMF with other solvents as well as modifying the reaction temperature did not provide satisfactory yields of the 2-cyanobenzofurans. To address this problem, we prepared the target building blocks in two separate steps. The optimization process using aldehyde 1b as a model system revealed that the best conditions for the formation of O-C bonds are K 2 CO 3 /KI in DMF, at room temperature (Table 1). Aldehydes 1a-d and 1g were successfully transformed into aldehydes 2a-d and 2g using this procedure in 78-93% yields. The great limitation in this reaction sequence was the second step, which gave very poor yields due to unidentified side-reactions. Therefore, after investigating various conditions we identified two complementary procedures: method A, in which the aldol reaction takes place in a 50% NaOH aq /DCM mixture; and method B, utilizing K 2 CO 3 and tetrabutylammonium hydrogen sulfate as a phase transfer catalyst (Table 1). These methods allowed us to syn-thesize a library of 2-cyanobenzofurans 3a-d and 3g in moderate to high yields. The same procedure has been subsequently utilized in the two-step synthesis of nitriles 3j-l from acetophenones 1j-l in overall yields of 36-86% (Table 1).
All substituted 2-cyanobenzofurans 3a-l were subsequently reacted with di-isopropyl succinate to give rise to desired diketopyrrolopyrroles 4a-l in 15-69% yields (Table 1). To our delight, reactions of nitriles 3j-l led to the formation of DPPs 4j-l in 30-57% yield, which is only slightly lower than the average yield of DPP from 2-cyanobenzofurans lacking a substituent at position 3. At the same time, these yields are an order of magnitude higher than the yield of di(2-tolyl)diketopyrrolopyrrole prepared by Langhals from 2-tolunitrile. 27 All pig-ments, except compound 4h, in which long alkyl chains placed on amino groups secured good solubility, were transformed into N-alkylated derivatives 5a-g and 5i-l (Table 1).
To gain insights into the structures of compounds 5j-5l bearing sterically demanding methyl groups, we undertook X-ray analysis. Although for the alkylated 5a-g and 5i the angle between the DPP core and the five membered aromatic ring was expected to be less than 10 degrees, the repulsion between the carbonyl and the methyl group in 5j-5l should lead to substantially larger angles. Indeed, X-ray analysis of crystals of compound 5j obtained by the slow evaporation of a solution of 5j in a dichloromethane/cyclohexane mixture showed that the 3-methylbenzofuran rings were twisted by 41.8 degrees with Table 1 The synthesis of aryl ethers (2), 2-cyanobenzofurans (3), benzofuran-substituted DPPs (4) and N-alkyl-DPPs (5) respect to the DPP mean plane, while both fragments were perfectly planar (Fig. 1).

Photophysical properties
With a library of N,N′-bisalkylated benzofuran-DPPs available, we systematically studied their spectroscopic properties. There was a clear relationship between the absorption and emission maxima and the substitution pattern of the prepared dyes, which can be divided into three categories (Table 2, Fig. 2-4).
DPPs that belong to the first group (compounds 5a-5g) are characterized by absorption and emission maxima in the 574-600 nm and 586-611 nm regions, respectively, with molar absorption coefficients of 54 000-93 000 M −1 cm −1 and Φ fl ranging from 0.76 to 0.97, when measured in DCM. Interestingly, the presence of a moderately electron-donating OMe group at position 6 of the benzofuran ring in dye 5g did not shift its absorption and emission maxima significantly, although a small hyperchromic effect was easily observed. The substitution of a chromophore with a heavy atom usually resulted in a dramatic decrease of fluorescence quantum yield as the heavy atom activates additional radiationless deactivation channels by favoring intersystem crossing within the molecule. 24 Contrary to our expectations, compounds 5a--5c bearing a Br at various locations displayed very high fluorescence quantum yields, reaching 0.97 for 5c in DCM. The optical properties of dye 5g are nearly identical with its analog possessing decyloxy groups instead of MeO groups at position 6 of benzofuran. 18 Indeed, the methoxy group at position 7 even has a hypsochromic effect on both absorption and emission maxima when compared to DPP derived from benzofuran bearing only two tert-butyl groups at positions 5 and 7, 18 or dyes 5a and 5b possessing Br atoms. A slight bathochromic shift (10 nm) is caused by placing MeO groups at position 5. Angular attachment of an additional ring (dye 5f ) caused only ∼20 nm bathochromic shift of absorption and emission. All these quadrupolar diketopyrrolopyrroles possess very strong orange fluorescence, which is only slightly affected by the type and position of substituents.
The second group consisted of compounds 4h and 5i, bearing strongly donating amino groups at position 6 of the benzofuran. Their absorption and emission maxima were bathochromically shifted by ca. 100 nm in DCM, as compared to compounds 5a and 5b, which lacked the electron-donating substituents; the absorption coefficients of 4h and 5i were also significantly higher. Both 4h and 5i exhibited solvatochromism and strong solvatofluorochromism, which possibly originated from the highly polarized character of both molecules in the ground state and stabilization of a charge-separated excited state by polar solvents. The influence of strong electron-donating substituents was well visualized by direct comparison of the absorption maxima for 4h and 5i (λ max in DCM of 653 and 677 nm, respectively) with DPPs bearing unsubstituted benzofuran and benzothiophene, 28 which showed absorption maxima at 616 and 620 nm, respectively, in DCM. Bridging gives rise to ∼20 nm bathochromic shift of absorption and even stronger 40 nm shift of emission. Emission in DCM beyond 700 nm has been reached for the first time for non-fused DPP. The presence of long alkyl chains made it possible to study the influence of lack of N-alkyl substituent. One clear difference is that compound 4h is much more sensitive to solvent polarity. This is especially true for emission, which shifts from 636 nm in cyclohexane to 707 nm in THF, while at the same time Φ fl decreases substantially. This type of behavior has been much less pronounced for analogous DPP with two Et 2 N substituents. 13 Another explanation would be the possibility of hydrogen bond formation for 4h, leading to aggregation processes in solvents of low polarity and alteration of spectroscopic properties. The structurally related 5i, however, for which the ability for hydrogen bond formation is blocked, display a similar albeit less pronounced tendency. Aggregation involving H-bond formation has been confirmed for non-alkylated diketopyrrolopyrroles and through exciton delocalization (excited state energy dissipation) it leads to increased stability of these pigments. 6 The fact that there is an increase of fluorescence quantum yield for solutions of dye 4i in non-polar solvents further supports our assumption of charge-transfer character of the excited state observed for both 4h and 5i. Symmetry breaking in the excited state leading to strong solvatofluorochromism has been observed for many   spectra of 5j (black) and 5k (red). All spectra were measured in DCM. Compound 5k was characterized by a lower degree of conjugation between the benzofuran moiety and the DPP core.  centrosymmetric dyes 29,30 including diketopyrrolopyrrole derivatives. 31 This red shift in the absorption spectra of DPPs bearing R 2 N groups stands in striking contrast with optical properties recorded for the third group of chromophores, to which compounds 5j-5l belong. These compounds displayed a lower degree of conjugation between the DPP core and the benzofuran moiety. The decreased conjugation is attributed to the almost 42 degrees twist of the mean plane of the latter subunit. This led to the strong blue shift of their absorption and emission maxima, which were in the 515-531 nm and 555-573 nm regions, respectively. Their molar absorption coefficients barely reached 40 000 M −1 cm −1 , considered the lowest among all tested compounds. The Stokes shifts measured for compounds 5j-5l are in the range of 1300-1400 cm −1 , up to three times higher than those observed for 5a-5g, which suggested that the geometry of the S 1 state of 5j-5l was more distorted than that of 5a-5g. Direct comparison of the absorption and emission of 5k and 5g both possessing electron-donating MeO groups shows that the presence of the Me group causes ∼60 nm blue-shift of absorption and only ∼35 nm shift of emission. The fundamental differences in the conformation in the ground state (dihedral angle ∼40 degrees) and partial planarization in the excited state are responsible for this result. A similar observation can be drawn when compounds 5e and 5l are compared. At the same time the absorption and emission of DPPs 5j-l are strongly bathochromically shifted vs. that of di(2-tolyl)diketopyrrolopyrrole (∼80 nm). 27 The Stokes shift remains at the same level. Fig. 2-4 illustrate the differences between the selected compounds that belong to each category.
Two-photon absorption spectra were recorded using twophoton excited fluorescence measurements (Table 3, Fig. 4-6). The highest value of the cross-section of the two-photon absorption of 1547 GM was measured for compound 5i at 780 nm (Fig. 5). Similarly, very high values were measured for other dyes possessing electron-donating groups in the 6-position of the benzofuran (5e and 5g); however, for compound 5g bearing a methoxy substituent, the highest value of twophoton absorption was reached at a lower wavelength (730 nm). The constrained structure of dye 5e only slightly increased the cross-section value. Given the large quantum Fig. 4 Absorption (solid lines) and normalized emission (dashed lines) spectra of 4h (black)and 5i (red), which have strong electron-donating substituents on the benzofuran ring and 5g (blue), which was modified with only one OMe group. Spectra were measured in DCM.   yield of fluorescence, the two-photon brightness of all three dyes is very high and in the preferred range for biological studies. A significant decrease in two-photon absorption at wavelengths longer than 700 nm was observed for all the synthesized compounds having bromine atoms, and for compounds with methoxy groups placed in positions other than position 6 (Fig. 6). The similarity of the overall shape of the spectra obtained for those dyes in comparison with a strong absorption of the compounds described in the previous paragraph showed the importance of the presence of an electrondonating substituent in the 6-position of the benzofuran. The direct comparison of TPA spectra of dyes 5j-l with their analogs lacking Me groups reveals significant differences. The values of TPA cross-sections for the latter one are smaller but they are located at higher wavelength, which is a rather unexpected. The presence of a methyl group in the 3-position of the benzofuran led to a significant increase of angle between the DPP core and the aromatic substituents, but did not result in the expected decrease in two-photon absorption crosssection (Fig. 7). The maximum values were found at wavelengths of 740-760 nm and within this range were even higher than those of the dyes with less steric hindrance (except those having electron-donating substituents at position 6 of benzofuran). One has to emphasize however that TPA has been measured only from 700 nm due to the instrument limitations, and it is possible that TPA maxima are situated below 700 nm.
The results clearly confirm the centrosymmetric nature of the presented diketopyrrolopyrrole derivatives. Quantum selection rules state that for the centrosymmetrical chromophores, one-photon permitted transitions are not allowed for twophoton transitions and vice versa. This means that the energy level of the excited state achieved in a two-photon absorption process is different from the 'classical' (i.e., achieved by singlephoton excitation) energy of the S1. Therefore, the two-photon absorption maximum measured for, e.g., compound 4h is located at 880 nm and not at 1PA × 2 (i.e., 653 nm × 2 = 1306 nm) (Table 3).

Computational studies
To extend our understanding, we compared the experimental results for two-photon absorption with computational methods. Evaluating the excited states of the molecules revealed that the different systems showed great variation. Only the lowest excited state, which is always dark in TPA, was found in all molecules. However, several states were identified in several molecules that could be compared with each other. Excited states were assigned to each other by comparison of the involved orbital transitions. As both the involved orbitals and the states differ in order, we have named the states with capital letters A-G. Naming either by state number or orbital transition is not possible under these circumstances. However, each state can be correlated with a certain dominant orbital transition. While the involved virtual orbitals are the LUMO and the LUMO+1 in most cases, the occupied orbitals involved differ a lot in order. In Fig. 8 we give an overview of the orbital transitions involved in the excitation to states A, B, C, D and E for dye 5b. In Fig. 9 the dominant orbital transitions for states F and G are shown exemplified on 5d and 5h, respectively. In the other molecules the orbitals look very similar but the occupied ones are in a different order. States which have been identified in several molecules are named with capital letters A-G and listed in Table 4. The results of our calculations are listed in Table 5.
The most abundant states were A and C which were found in nearly all molecules. State A, which is always the lowest TPAactive state when present, is not found in 5h and 5i, the two molecules containing amino groups bound to the benzofuran moieties. These molecules have also shown remarkable differences in their measured TPA spectra compared to the other ones. In molecules 5i and 5h we observe two well-separated, low-lying states of G and C type. In all other molecules, the lowest TPA-active state is of A-type. This shows that the amino groups have a strong influence on the chromophore and induce remarkable changes in the excited state manifold of Fig. 7 TPA spectra of compounds 5j (black), 5k (red) and 5l (blue) measured in DCM. Fig. 8 Overview of the orbital transitions which dominate the five lowest TPA-active states in 5b. Note that the LUMO+1 and the HOMO are symmetric while all other orbitals are antisymmetric with respect to inversion. The state with the lowest energy corresponds to the HOMO-LUMO transition. Note that this state is not indicated in the picture as it is dark in TPA. the molecules. The most remarkable indication for this is the occurrence of the G-type states, which have only been found for 5h and 5i. From Fig. 9 we also note that the occupied orbital involved in this transition has a strong coefficient at the nitrogen of the amino group. Similar observations have been made on 5f where the annelated ring also induces a strong modification of the chromophore. For this reason there is only one state left in 5i which is comparable to the ones of the other molecules. In the other molecules the lowest TPAactive states are much more comparable as can be seen from Table 4. State B was not found in molecules with inductive donors in 7-position. We also note that in some cases the TPAactive states are very close to each other. Therefore, it is likely that they were not well separable in some cases. This outcome was observed for 5a (states D and E), 5b (states E and B), 5d (state F and another non-comparable one), 5e (states C and B) and 5f (state D with two non-comparable ones). State A was of valence character. The most relevant involved orbitals were located at the diketopyrrolopyrrole backbone of the molecules. State B has partial charge transfer character. It corresponded to charge transfer from the benzofuran substituents to the diketopyrrolopyrrole backbone. States C and D show slight charge transfer in the opposite direction.
Overall, the strongest TPA was found for dye 5i. However, this TPA is of no experimental relevance as it is caused by a Fig. 9 Orbital transitions dominating the states F in 5d (top line) and G in 5h. Note that the LUMO is qualitatively the same as the one in 5b. Table 4 Comparable states of the molecules under consideration. In all molecules apart from 5e and 5f the numbers in the table indicate the number of the states within the ones with A g symmetry while for 5e and 5f they indicate the number of the state resonance effect with a very strong OPA-active state (not listed in the table). For this reason, this strong TPA will not be visible but hidden behind the OPA of the lowest OPA-active state. Therefore, this state is irrelevant experimentally and will not be further discussed here. The strongest TPA below possible resonances is found for 5e with 9075 GM at 627 nm. It is of B-character and corresponds to the transition between the highest occupied and the lowest unoccupied ungerade molecular orbitals. In the other cases this state shows TPAs in the range between 1000 and 3000 GM. The strong boost of this state in 5e cannot be interpreted without taking state mixing into account since the B-state is found very close to the C-state, which shows a much smaller TPA. This state mixing is reflected in the involved orbital transitions. The B and C states in 5e were dominated by the same orbital transitions as in the other molecules (see Fig. 8). However, in 5e there are relevant contributions to state C also from the transition dominating state B and vice versa, which is not the case in the other molecules.
Comparing the C states in the different molecules, we note that they showed a large variety of TPAs that are extremely strong in the two amino-substituted molecules 5h and 5i. This state is of charge transfer character as the corresponding occupied orbital is mostly located at the benzofuran moieties while the virtual orbital is located at the diketopyrrolopyrrole backbone (see Fig. 8).
The B and C states were investigated using a few-state model analysis in an effort to reproduce the dominating element of the TPA tensor M (yy in most cases, xx for 5g) using an approximation to the sum-over-states approach according to eqn (1): where 〈0|μ y |l〉 is the transition moment between the ground state 〈0| and the intermediate state |l〉 and 〈l|μ y |f〉 is a transition moment between excited states with |f〉 being the final state of the excitation. μ y is the y component of the dipole operator. ω l is the excitation energy of the state l. The energy ω f 2 is half the excitation energy of the final state, which is identical to the energy of the incident photons. The summation runs over the lowest eight excited states. This limit is due to computational restrictions as transition moments between a large number of excited states are extremely difficult to compute.
The following discussion is based on an investigation of 5d, 5e, 5g, 5j, 5k and 5l. This means that for this part of the study only molecules which contain neither bromine nor amino groups nor annelated rings on the aromatic moiety are taken into account. Using eqn (1) we found that for all the states that have been considered, by far the most dominant contribution came from the intermediate state l that is the lowest excited state. This state is always TPA-dark for symmetry reasons but the brightest state in one-photon absorption (OPA). This state can be considered a hub with respect to the non-linear optical properties.
Evaluating the one-photon transition moments we note that there are correlations between 〈0|μ y |1〉 and 〈1|μ y |B〉, and between 〈1|μ y |A〉 and 〈1|μ y |C〉: 〈0|μ y |1〉 and 〈1|μ y |B〉 have been found to be strong in 5d, 5e and 5g while 〈1|μ y |A〉 and 〈1|μ y |C〉 are stronger in 5j, 5k and 5l. An explanation for this different behaviour is the shape of the involved orbitals. 〈0|μ y |1〉 is always dominated by the HOMO-LUMO transition. Fig. 8 reveals that these orbitals are mainly located at the diketopyrrolopyrrole backbone and also that they have small but reasonable coefficients at the benzofuran. This is the same for the orbitals involved in the transition to the B-type state. Here the involved occupied orbital is, to a large extent, located at the benzofurans. Therefore, these transition moments and especially the ones to the B-state should strongly depend on the coupling between the backbone and the substituent, which is the strongest for planar structures. The CH 3 groups in 5j, 5k and 5l enforce a stronger torsion between these moieties. This means that a large TPA for the B state can be correlated with a large OPA of the lowest state.
By contrast, the transitions to states A and C are, to a larger extent, dominated by orbitals which are mostly located at the backbone. Therefore they are less dependent on the torsion between the backbone and benzofuran rings. Here the prediction is more difficult than for the B state as 〈0|μ y |1〉 on the one side and 〈1|μ y |A〉 and 〈1|μ y |C〉 on the other side behave differently. Table 6 provides an overview of the calculated partial charges for six of the molecules in the named positions. In most cases, we noted that substituents (all substituents under consideration can be taken as mesomeric or inductive donors) decreased the partial charge of the atoms to which they were bound. Comparing the TPA for the B and C states (which have the strongest TPA and also occur in enough molecules to enable comparisons) we noted that the strongest values were found for systems with donors located in 5-or 6-position (values for 5 being stronger than those for 6) while a methyl group in 3-position leads to a lower TPA. Molecules with a CH 3 group in 3-position showed lower TPA than the ones without this substitution. At the same time, the numbers in Table 6 indicated that especially in this position, the change of partial charge by substitution is enormous. One might therefore argue that a substitution in 3-position hampers the formation of a transition dipole moment between the electron-rich substituent and the electron-poor backbone. While this factor may provide a partial explanation, the answer it provides is quite qualitative and reveals just a part of the puzzle, especially because the torsion between the different moieties has to be taken into account, which is known to have a strong influence on the TPA (Table 6).

Materials and methods
All chemicals were used as received unless otherwise noted. Reagent grade solvents (MeCN, DCM, hexane, and toluene) were distilled prior to use. All reported NMR spectra were recorded on a 500 MHz spectrometer unless otherwise noted. Chemical shifts (δ ppm) for 1 H and 13 C NMR were determined with TMS as the internal reference. J values are given in Hz.
Chromatography was performed on silica (Kieselgel 60, 200-400 mesh). Mass spectra were obtained with an EI ion source and an EBE double focusing geometry mass analyzer or spectrometer equipped with an electrospray ion source with a q-TOF type mass analyzer.

Synthesis
All experimental details, including synthetic procedures, spectroscopic characterization of new compounds and X-ray analysis, are given in the ESI. †
The concentrations of the samples and references were measured using a dilution series in a spectrophotometer (PerkinElmer lambda 35). Single photon fluorescence emission spectra were recorded using a spectrofluorometer (ChronosFD from ISS, Champaign, IL USA). Two photon absorption measurements were performed on a custom built multiphoton excitation spectrofluorometer described previously. 32 The absolute 2-photon absorption cross sections were calculated by comparing the relative fluorescence intensity of the sample to a well-known reference. The references used were fluorescein in a CAPS buffer ( pH 11) and Rhodamine B in methanol, using a references absorption spectrum as described previously. 33 The measurements for the two photon cross-sections were carried out at least five times for the different samples. To remove artifacts due to photobleaching or linear absorption, the samples were measured at different excitation intensities to ensure that the fluorescence signal increased as the square of the excitation intensity at different excitation wavelengths for different samples.
The excitation wavelength ranged from 700 nm to 1020 nm. However, due to the linear absorption of some of the samples, the lower wavelengths were excluded.

Calculations
All molecules were optimized using TURBOMOLE, 34 the B3LYP functional 35 and the TZVP basis sets. 36 One-and twophoton absorption cross-sections were calculated using the DALTON program, 37 the CAM-B3LYP density functional 38 and the aug-cc-pVDZ basis set. 39 Scalar relativistic effects of the bromine atoms were taken into account using effective core potentials. 40 Apart from 5e and 5f, which have been calculated without point group symmetry, all molecules were treated using C i point group symmetry containing an inversion point. In the molecules with C i symmetry, only the totally symmetric states are taken into account since for the antisymmetric state transitions, TPA is symmetry-forbidden. However, also in the two molecules treated without point group symmetry, an alternation of TPA-dark and bright states was found due to the quasi-centrosymmetry of these molecules. Derivations from centrosymmetry are mainly caused by conformations of the substituents, not by the chromophore. In all calculations, the pyrrole-N-atoms were capped with CH 3 groups instead of the long side chains of the synthesized molecules for ease of calculation. This variation had special implications for the 5h molecule. Of the h-type structures, an alkyl substituted molecule was not synthesized, however it was treated computationally. We furthermore note that in the calculations, methyl substituents are used instead of octyl chains (5a--5e, 5g, 5i-5l) or polyether chains (5f ) for ease of calculation and especially for geometry optimization. In 5e and 5i the substituents at the amino groups have been replaced by methyl groups for the ease of both optimization and property calculation.

Conclusions
The direct, one-pot transformation of substituted salicylaldehydes into 2-cyanobenzofurans is capricious, most probably due to numerous side reactions influenced by the reactivity of the formyl group. In turn, the reactivity of the formyl group depends on the particular arrangement of substituents on the benzene ring. Dividing the whole process into two steps, i.e., Williamson etherification followed by intramolecular aldol type condensation in combination with the use of phase-transfer catalysts for the second step, allowed a more general and reliable procedure which enabled the straightforward preparation of 2-cyanobenzofurans from a range of salicylaldehydes. Due to the wider angle between the CN and the methyl group in 2-cyano-3-methylbenzofurans (compared to the 2-tolunitrile), the formation of diketopyrrolopyrroles occurred in good yields (30-57%). Polarization and planarization of the aryldiketopyrrolopyrroles is a powerful tool for fine-tuning their one-and two-photon spectroscopic properties. By taking advantage of the natural tendency of benzofuran-substituted DPPs to adopt a planar conformation, we were able to shift their absorption maxima up to 677 nm. This shift to longer wavelengths is of considerable importance because of the interest in far-red absorbing dyes for deep tissue imaging and reduced photodamage. Thus, this procedure places these compounds perfectly in the spectral region suitable for bioimaging applications. In contrast, analogous compounds bearing methyl substituents in the furan ring exhibited highly twisted conformations that hampered π-conjugation along the molecule and shifted the absorption and emission maxima to much shorter wavelengths. All the tested DPPs exhibited strong two-photon absorption (TPA) and centrosymmetrical behavior, with good two-photon brightness. Despite the interruption of the π-conjugation, the twisted DPPs display considerably promising TPA.