## Introduction

The development and synthesis of chemosensors for selective and sensitive detection of heavy and transition metal ions is an active area of present day research due to their substantial effects on the environment and biological systems1,2,3. The sensing of metal ions in aqueous media is a complex task due to the presence of competitive interactions between the solvent and guest for receptor binding sites4,5. Among the various transition metals, nickel is an important element due to its widespread use in industry (Ni–Cd batteries), in ceramics and magnetic components for computers, metallurgical processes (electroplating), rods for arc welding, surgical and dental prostheses, and pigments for paints6,7,8. Nickel has a significant role in various enzymatic activities such as acireductone dioxygenases, carbon monoxide dehydrogenases, and catalysts for hydrogenation. It is also used as an essential trace element in biological systems, with significance in the biosynthesis and metabolism of some plants and microorganisms. However it is a toxic metal from a bio-medical point of view, as it can be easily absorbed by organs such as spleen liver, kidney etc. and may cause lung cancer, nasopharyngeal carcinoma, asthma, pneumonitis, and disorders of the central nervous system in humans. Deficiency or excessive levels of nickel also affect the life of many prokaryotic and eukaryotic organisms9,10,11,12,13.

Considering all these facts, the selective monitoring of nickel is very important in environmental, biological and industrial samples. Various analytical methods such as flame atomic absorption spectrometry-electro thermal atomization (FAS-ETA), atomic absorption spectrometry (AAS), and inductively coupled plasma atomic emission spectrometry (ICP-AES) are widely used for detection of metal ions14,15,16,17,18,19. However, most of the methods need trained operators, sophisticated equipment and tedious sample preparation procedures, so there is still a need for simple, efficient and cost-effective methods for the micro level detection of heavy metals ions.

In recent years colorimetric, ratiometric, potentiometric and fluorescence sensors have gained attention for the selective detection of metal ions such as Ni2+ in biological and environmental samples. Colorimetric chemosensors show a distinct visible color change on selectively binding with a specific analyte without the use of expensive equipment, while the fluorescent sensors show fast responses towards analytes through fluorescence quenching or enhancement. These sensors have some drawbacks like poor solubility of probe, lack of selectivity, low sensitivity, and serious interference by other metals20.

Colorimetric sensors seem to be especially promising due to low cost, rapid detection and ease of use when compared to classical techniques as well as fluorescent sensors. Several organic molecules have been reported which showed colorimetric and fluorescent sensing of Ni2+ but few were capable of parts per million level detection. The signals from absorption and emission changes of light by chromophores or fluorophores provide information about the mechanism of sensing of metal cation (Ni2+) by electron transfer (ET), charge transfer (CT), photoinduced electron transfer (PET), excited state intramolecular proton transfer (ESIPT) mechanism21,22. In recent times, the Goswami group reported a quinoxaline 1 based ratiometric chemosensor for the naked eye detection of Ni2+ in CH3CN media23. Sarkar et al. developed benzimidazole based 2 as a ratiometric and colorimetric chemosensor for Ni2+ in DMSO24. Prabhu and co-workers developed a selective fluorescent turn on chemosensor for Ni2+ based on pyrene-conjugated pyridine13 3. Biswajit Chowdhury et al. developed a Salen type Schiff base 4 colorimetric chemosensor with fluorescent enhancement for Ni2+ 25. S. Santhi et al. developed the phenylmethanediamine based 5 as a colorimetric and turn off fluorescent sensor for detection of Co2+, Ni2+ and Cu2+ in aqueous methanol solution26 (Fig. 1).

Benzo[c]pyrazolo[2,7]naphthyridines and its derivatives have gained much attention in last few decades because they are biologically active alkaloids isolated from marine organisms such as perlolidine27 (cellulose digestive inhibitor), subarine28 (anti-HIV activity), meridine29 (cytotoxic activity), amphimedine30,31 (top isomerase II) inhibitor) and PDK-1 inhibitors32.

In continuation of our research work in the field of molecular recognition, we herein report benzo[c]pyrazolo[2,7]naphthyridine-5,6-diamine based efficient colorimetric and/or fluorescence off sensors that can detect Ni2+ with sensitivity and selectivity in aqueous solutions. Many researchers have utilized amino group containing sensors like diaminonaphthalene33, 1,8-naphthyridine-amine34, 1,8-naphthyride-2-acetoamide35, diaminophenazine and 1,2-diaminoanthracene-dione36 to sense different metal ions like Cu2+, Hg2+, Fe3+, Al3+. Here we report sensors in which vicinal amino groups are placed on the benzo[c]pyrazolo[2,7]naphthyridine skeleton. Diamines L1-L4 serve as sensors for Ni2+ in aqueous solutions, utilizing the two amino groups as binding sites for the metal ion. The receptors detect the cation Ni2+ by both Chelation Enhanced Fluorescence Quenching (CHEFQ and an instant change in color from yellow to red. The chemosensors L1-L4 could be used as practical sensors for quantitative determination of nickel at ppm level in real water samples and also used in test kits to observe the color changes for Ni2+ by a dip stick method. Importantly the sensing potential of these derivatives can be tuned by the nature of the substituents R, i.e. electron donating (CH3) and electron attracting (F, OCF3), which affect the sensing properties. Quantum chemical computations (DFT) were performed to get detailed insight on the interaction between L4 and Ni2+ and are in good agreement with experimental findings.

## Results and discussion

The benzo[c]pyrazolo[2,7]naphthyridine based chemosensors were synthesized as shown in Scheme S1. The isatins 6 react with malononitrile 7 via Knoevenogel condensation to form arylidenes. The formed arylidenes are then reacted with 3-amino-5-methylpyrazole 8 to synthesize spiro-intermediates which then undergo basic hydrolysis, cyclization, decarboxylation and aromatization to form target naphthyridine receptors (L1–L4)37.

### Spectrophotometric studies of L1–L4

#### UV–visible study

Ligands L1–L4 were investigated as chemosensors for various metal ions (Al3+, Ca2+, Cd2+, Co2+, Cr3+, Cu2+, Fe3+, Hg2+, K+, Mg2+, Mn2+, Na+, Ni2+, Pb2+, Sr2+ and Sn2+) by UV–visible spectroscopy. The preliminary colorimetric experiments involved addition of one equivalent of metal ions (1 × 10−3 M) to solutions of L1–L4 (1 × 10−3 M) in DMSO–H2O (v/v 1:2), HEPES buffer of pH = 7.4 at room temperature. The addition of Ni2+ resulted in distinct visual color changes from yellow to red, but no color change was observed for other metal ions (Al3+, Ca2+, Cd2+, Co2+, Cr3+, Cu2+, Fe3+, Hg2+, K+, Mg2+, Mn2+, Na+, Pb2+, Sr2+ and Sn2+) Fig. 2a-b.

The binding interaction of L1–L4 with different metal ions was further monitored by investigating UV–visible absorption spectral changes as indicated in Table 1.

The UV–visible spectra of model receptor L4 showed a remarkable bathochromic shift in absorption spectrum at 537 nm which is in good agreement with the color change. This may possibly be ascribed to fast metal–ligand binding kinetics and the high thermodynamic affinity of Ni2+ for N-donor ligands38. The other examined metal ions did not cause any distinct spectral changes in the UV–visible spectrum at 537 nm under identical conditions. A similar pattern of absorption spectral changes were observed for L1-L3 (Figs. S1S3).

The coordination between receptor L4 and Ni2+ was further demonstrated by UV–visible absorption spectral titrations involving sequential addition of Ni2+ aliquots (0–12 µM) to L4 (20 µM). It was observed that the intensity of the absorption bands at 537 nm and 438 nm increased while the absorption bands at 396 nm and 376 nm began to decrease until reaching limiting values. Moreover the emergence of isosbestic points at 365 nm and 410 nm during spectral titrations indicated the formation of stable complexes with definite stoichiometric ratios between L4 and Ni2+ 23 (Fig. 2c). Similar coordination behavior was observed for L1-L3 (Figs. S4S6). These results suggest that receptors L1-L4 could be employed as colorimetric and ratiometric sensors for Ni2+ and discriminating against different transition metal ions (Fe3+, Cu2+, Co2+, Pb2+, Hg2+) which are normally difficult to differentiate.

#### Fluorescence study

Photophysical complexation studies of L1-L4 at room temperature with metal ions were also performed with fluorescence spectroscopy. The fluorescence spectra of L4 showed an emission band at 470 nm (λex = 390 nm) in DMSO–H2O (v/v 1:2, HEPES buffer, pH = 7.4). Amongst addition of different metal ions (Al3+, Ca2+, Cd2+, Co2+, Cr3+, Cu2+, Fe3+, Hg2+, K+, Mg2+, Mn2+, Na+, Ni2+, Pb2+, Sr2+ and Sn2+), the emission band at 470 nm underwent significant quenching with Ni2+ in comparison with the other metal ions (Fig. 3a). Similar patterns of fluorescence spectral changes were observed for L1-L3 (Figs. S7S9).

The coordination behavior of L4 was examined via fluorescence titrations at room temperature. The sequential addition of Ni2+ (0–12 µM) to receptor L4 caused a substantial decrease of emission intensity at 470 nm, indicating “turn-off” behavior of the receptor (Fig. 3b). The rigid and planar structure of L4 molecule makes it a highly fluorescent compound. However when chelation occurs between the NH2 groups of receptor L4 and Ni2+, the amino groups lose their ability to donate electron density into the fluorophore due to ligand–metal charge transfer (LMCT) which causes the Chelation Enhancement Quenching Effect (CHEQ) and quenching of emission potential39 (Fig. 3c). Similar coordination behavior was observed for L1-L3 (Figs. S10S12).

#### Binding stoichiometry, association constant and detection limit

The binding stoichiometry of the complexes were further explored by Job’s continuous variation method40 by plotting mole fraction versus changes in absorption intensity at 535 nm for L1, 538 nm for L2, 550 nm for L3 and 537 nm for L4, respectively. The Job’s plots (Fig. S13) indicate maximum values at 0.7 corresponding to the formation of complexes with 2:1 stoichiometry between L1–L4 and Ni2+.

The association constants Ka of receptors L1–L4 with Ni2+ were determined by analysis of the UV–visible and fluorescence data using the Benesi–Hildebrand equation41

$$\frac{1}{{\left( {A - A_{{\text{o}}} } \right)}} = \frac{1}{{\left\{ {\left( {A_{\max } - A_{{\text{o}}} } \right)K_{a} [{\text{Ni}}^{2 + } ]^{n} } \right\}}} + \frac{1}{{\left( {A_{\max } - A_{{\text{o}}} } \right)}}$$

(Figure S14, S15) and are listed in Table S1.

The association constant values are in range of those 103–106 reported for Ni2+ sensing chemosensors42. The trend of Ka values shows that L4-Ni2+ complex is stronger than the other receptor complexes. Moreover the association constants obtained by UV–visible data were on the same order of trend for as those obtained from fluorescence data i.e. L4-Ni2+  > L3-Ni2+  > L2-Ni2+  > L1-Ni2+.

The detection limits of L1–L4 for Ni2+ as colorimetric sensors were determined by naked eye, absorption and fluorescence spectral changes Table 2.

For naked eye detection, the receptor L4 showed a distinct color change at a minimum concentration of 1 × 10−6 M for Ni2+ (Fig. 4/S16). Moreover, the detection limits determined by absorption and fluorescence spectral changes on the basis of 3SB/S 43 for L4 and Ni2+ were found to be 2.43 × 10−7 M and 4.03 × 10−8 M respectively. These values are lower than EPA drinking water guidelines (1.2 × 10−6 M for Ni2+ 44) and revealed that L4 is highly efficient in sensing Ni2+ even at minute levels.

### Proposed sensing mechanism

#### ESI–MS, IR and 1HNMR titrations

The coordination mechanism of L4 to Ni2+ was explored by ESI–MS and IR titration experiments. The ESI mass spectra of L4 showed a peak at m/z: 279.17 [M + H]+ corresponding to [L4 + H]+. After titration of L4 with Ni2+ a signal at m/z: 685.58 for [2L4 + Ni + Cl2 + H]+ (calculated m/z = 684) indicated the formation of a 2:1 stoichiometry complex between L4 and Ni2+ (Fig. S17).

FT-IR titrations were performed by using a Bruker Alpha FT-IR. Figure 5 shows a comparison of the IR spectra of L4 before and after the addition of Ni2+. The sharp peaks present at 3420, 3294 and 3109 cm−1 due to NH stretching frequencies in free receptor L4 were broadened by adding Ni2+, suggesting the involvement of NH2 group in coordination with Ni2+ to form complex45,46. To further investigate the interaction behavior between L4 and Ni2+, we carried out 1HNMR titrations but these were not successful due to paramagnetic property of L4-Ni2+ complex42. The plausible sensing mechanism of L4 for Ni2+ is shown in Scheme 1.

#### Metal ion selectivity

An important feature of receptor L4 is its selectivity towards analytes. This was examined by competitive titration experiments (Fig. 6a). The intensity of the absorption band at 537 nm due to complex formation of L4-Ni2+ is not disturbed at all in the presence of other metal ions (Al3+, Ca2+, Cd2+, Co2+, Cr3+, Cu2+, Fe3+, Hg2+, K+, Mg2+, Mn2+, Na+, Pb2+, Sr2+ and Sn2+). Thus the receptor L4 shows excellent binding affinity for Ni2+, which should hold in physiological samples where Cu2+, Co2+, Fe3+, Hg2+ and Pb2+ usually coexist with analyte. This distinct selectivity for Ni2+ may be due to matching of the geometry of the receptor with the ionic radius of Ni2+ 13.

The UV–visible absorption spectra of the L4-Ni2+ complex with various anions was recorded to check the stability of complex. No change in the absorption band at 537 nm was observed (Fig. 6b-c). This clearly indicates that the stability of the complex is unaffected by the presence of various anions.

#### pH effect study

In order to investigate the effect of pH on the absorption response of receptor L4 to Ni2+, a series of solutions with pH values ranging from (2.0 – 12.0) were prepared (Fig. S18).

At pH 2.0–3.0, the receptor L4 shows no substantial response to Ni2+ in absorption spectroscopy. The absorption of the L4-Ni complex at 537 nm is maximum and constant in pH range 7.0 – 8.0. Above pH 8.0, absorbance decreased gradually. The results suggest that biological and environmental applications at physiological pH should be feasible. The color of L4– Ni2+ complex remained red between pH 4–11, which indicated that Ni2+ could be clearly detected over a wide range of pH 4–11.

#### Reversibility of receptor L4

The reversibility of receptor L4 towards Ni2+ was examined by adding ethylenediaminetetracetic acid (EDTA, 1 equiv.) to the complexed solution of L4 and Ni2+ (Fig. 7).

The solution’s color changed from red to light yellow (original color of L4). Upon addition of Ni2+ again the absorbance at 537 nm was recorded. The absorption changes in spectral bands were reversible even after several cycles with alternative sequential addition of Ni2+ and EDTA. These results indicate that L4 could be recyclable as an off–on-off receptor by the interaction of EDTA with L4–Ni2+ (Scheme 1). Such regeneration and reversibility could be valuable for the fabrication of Ni2+ sensors.

#### Synthesis of the L4–Ni2+ complex

The Ni2+ complex of receptor L4 was synthesized by mixing an Ni2+ salt with L4 using 1:2 ratio in DMSO-H2O solvent mixture. The yellow solution of the ligand immediately turned to red colored solution. The solution was further refluxed to get the solid product (Scheme 2).

Red solid, Yield: 84%, mp > 300 °C; λmax: 535 nm; λem: 473 (λex = 340); IR (ATR, cm−1): 3368, 3222, (NH), 1642, 1541, 1438, 1339, 1238, 1110, 1031, 1002, 825, 731; MS (ESI) m/z: 685.41 [2L4 + Ni + Cl2]+; Molar conductance: 0.41 S cm2 M−1; µeff (B.M.): 2.98.

The synthesized complex of L4–Ni2+ was characterized using UV–Visible, fluorescence spectroscopy, molar conductance, SEM, ESI–MS and magnetic moment analysis. A 10−3 M solution of the L4–Ni2+ complex exhibited a molar conductance value of 0.4 S cm2 M−1 which suggests non-electrolyte behavior in DMSO solution. The ESI–MS of the synthesized L4–Ni2+ complex (Fig. 8a) showed the molecular ion peak at m/z 685.41 which matched very well with the calculated molar mass of [2L4 + Ni + Cl2 + H]. Furthermore, SEM analysis was carried out to obtain a better understanding of morphological difference before and after the addition of Ni2+ to L4 receptor (Fig. 8b-c). SEM images of receptor L4 show dense sprinkled elliptical shapes which are transformed into a rough stone like structure after complexation with Ni2+. Magnetic studies were used to confirm the geometry of the synthesized metal complex L4–Ni2+. The room temperature magnetic moment value of the solid complex is µeff (B.M.): 2.98 in line with an octahedral environment (2.9–3.3 B.M.) around the metal ion47. The proposed octahedral geometry is also supported by mass spectral analysis.

#### Practical application

In order to investigate the potential use of receptor L4 in real water samples, a calibration curve was drawn, which showed a good linear relationship (R2 = 0.9996, n = 3) between the absorbance of the L4–Ni2+ complex and the Ni2+ concentration (0–5 µM) at 537 nm (Fig. S19). The receptor L4 was used for the estimation of Ni2+ in drinking water, tap water and industrial waste water samples (Table 3). All water samples were analyzed in triplicate with good recoveries and RSD values. The results indicate that receptor L4 is highly specific and sensitive for Ni2+ estimations in environmental samples.

To explore another application of receptor L4, test kits were prepared by immersing filter paper in receptor L4 (1 × 10−3 M, HEPES buffer, pH = 7.4) and then air drying to investigate a “dip-stick” method for detection of Ni2+. When the prepared test strips were immersed into aqueous solutions of Ni2+ with different concentrations, clear color changes from yellow to red were observed (Fig. 9). The results showed that discernible concentrations of Ni2+ can be as low as 1 × 10−5 M. The “dip-stick” method did not require any additional equipment for detection of Ni2+ and should be highy attractive for “in-the-field” measurements.

### Theoretical details on structural aspects of L4–Ni2+

#### Computational details

In order to evaluate the interaction between L4 and Ni2+ theoretical calculations on the L4-NiCl2 complex were performed. Geometry optimization calculations were performed for the free species L4 and NiCl2, and complexes L4-NiCl2 and 2L4-Ni2Cl2 (with two L4 molecules). The calculations employed the DFT method by applying the M06L48 functional and def2-SVP49 basis set. The calculations were carried out with the Gaussian 0950 package (Revision D.01). To evaluate the interactions in the complexes we performed Atoms in Molecules51,52,53 (AIM) analysis. The AIM analyses were carried out with Multiwfn54 package from single-point calculations with M06L functional and def2-TZVP basis set with SMD solvent model with DMSO as solvent and visualized with VMD55. Frontier Molecular Orbitals (FMO) analyses were performed to investigate the effect of L4 complexation with Ni2+. The FMO analyses were carried out with TD-DFT single-point calculations (from their respective optimized geometries) by applying the M06-2X56/def2-TZVP49 level of theory with the SMD solvent model and DMSO as solvent in the Orca57 package.

#### Theoretical calculations

The experimental results indicated complex formation with 2:1 stoichiometry between L4 and NiCl2. Thus, we performed calculations for free L4 and NiCl2, for L4-NiCl2 complexes (with one L4 molecule) and for 2L4-NiCl2 complexes (with two L4 molecules) as shown in Fig. 10. The relative energies are shown in Table S2 and demonstrate that the complexation between L4 and NiCl2 is spontaneous. The energies for complexation with one or two L4 molecules showed that the complex with two L4 molecules is more stable than with just one molecule in agreement with experimental results. Thus, the FMO and AIM analyses were performed just for complexes with two L4 molecules.

#### FMO and GRD analysis

The energies for frontier molecular orbitals of free L4 and the 2L4-NiCl2 complex are shown in Table S3. It was verified through the FMO analysis species that the complexation between L4 and NiCl2 causes a slight decrease of the frontier molecular orbitals and the 2L4-NiCl2 complex showed lower HOMO/LUMO energy gaps, particularly for HOMO-1/LUMO + 1 and HOMO-2/LUMO + 2 which are related to the interaction with nickel. The surfaces for frontier molecular orbitals of L4 and 2L4-NiCl2 are shown in Fig. 11.

#### AIM analysis

The AIM properties for the 2L4-NiCl2 complexes are shown in the Table S4 and their respective molecular graphs are shown in Fig. 12a-b respectively. The characterization of strengthening of the interaction between L4 and NiCl2 was performed through the topological analysis of the electronic density. Therefore, the presence of an interaction between atoms was featured by the presence of a Bond Path (BP) between two attractor (atoms in a molecule) and their characteristics such covalence and strength were determined though the AIM properties in their Bond Critical Points (BCPs). The main AIM properties that were evaluated in this work were the electronic density, ρ(r), Laplacian of density, 2ρ(r), and density of potential energy, V(r).

Thus, the presence of the interaction between NH2 and Ni was revealed by the presence of a BP between N and Ni atoms. The AIM molecular graphs with their respective labels are shown in Fig. 12a-b. The BCPs a and b are related to the Ni–N bonds in the complexes L4-NiCl2 and 2L4-NiCl2. The complexes’ formation showed BCPs a and b with positive value of 2ρ(r) with can indicate a non-covalent interaction or ionic bond. When the values of electronic density, ρ(r), were analyzed for these BCPs was verified that the BCPs a for both complexes showed high negative values of density of potential energy, V(r), which indicates that the bonds related to BCPs a have the characteristic of ionic bonds. The BCP b L4-NiCl2 also showed an ionic characteristic. However, the 2L4-NiCl2 complex showed the weakening of one of their Ni-NH2 interaction to formation of another Ni-NH2 interaction with the second L4 molecule. Thus, the 2L4-NiCl2 showed two ionic bonds between N-Ni (BCPs a and b*) with ρ(r) = 0.0922 a.u. and ρ(r) = 0.0901 a.u., respectively, and two non-covalent interactions between N-Ni (BCPs b and a*), that were revealed by the presence of 2ρ(r) > 0, though, with low values of ρ(r) (ρ(r) = 0.0202 a.u. and ρ(r) = 0.0181 a.u., respectively) and low negative values of V(r). While the L4-NiCl2 complex showed two ionic bonds with the same L4 with BCPs a and b, the 2L4-NiCl2 complex showed two ionic bonds and several non-covalent interactions (BCPs c, d, c* and d*) between L4 and NiCl2, Thus, such non-covalent interactions should be related with the stabilization of 2L4-NiCl2 complex in relation to L4-NiCl2. Beyond the interaction between N atoms from L4 and Ni2+ was verified the presence of NH···Cl interaction (BCPs d and d* with ρ(r) = 0.0165 a.u. and ρ(r) = 0.0133, respectively) in the 2L4-NiCl2 complex which should increase the NH stretching frequencies shift in relation to free L4 which agree with experimental results.

## Conclusion

In summary, we have successfully characterized the photophysical properties of benzo[c]pyrazolo[2,7]naphthyridines (L1-L4) which were prepared by a green synthetic route. The receptors (L1-L4) allow selective and sensitive sensing of Ni2+ in aqueous media over a wide range of pH (4–11) even in the presence of competitive ions i.e. Fe3+, Cu2+, Co2+. A unique colorimetric response to Ni2+ is observed (yellow to red) through coordination of receptor and Ni2+ complex could be recyclable through treatment with EDTA. The detection limit of Ni2+ was found to be in range of 0.2–0.5 µM for (L1-L4) by UV–Visible data, and 0.040–0.47 µM by fluorescence data, which is lower than the permissible value of Ni2+ (1.2 µM) in drinking water and opens a potential application of the receptors in recognizing Ni2+ in environment. The binding stoichiometries of (L1-L4) with Ni2+ were found to be 2:1 through Job’s plot and ESI–MS analysis. The fluorescence properties of the receptors were evaluated with fluorescence quenching by coordination with Ni2+. As a practical application, the most efficient receptor L4 could be used to quantify and detect Ni2+ in real water samples and also applied for fabrication of test kits using the “dip-stick” method. To the best of our knowledge, receptors (L1-L4) are the first reported multifunctional, naked eye chemosensors for sensing of Ni2+ in aqueous solutions. Theoretical calculations demonstrate that the stoichiometry of complexation between L4 and NiCl2 should be 2:1 as experimentally verified. The non-covalent interactions between L4 and NiCl2 in the formed complex, particularly involving the –NH2 groups can broaden the NH stretching frequencies, which is consistent with the experimental results. The FMO demonstrate the complexation with Ni decreases the frontier molecular orbitals and their respective energy gaps.

## Experimental

### Materials and equipment

All the solvents and reagents used for synthesis were of analytical grade and used as received. Infrared (IR) spectra were recorded by Bruker Alpha FT-IR spectrophotometer. Mass spectra were recorded by a Thermo Scientific LTQ-XL system fitted with electrospray ionization (ESI) source, Jeol 600 MS Route, and Jeol Hx110 mass spectrometer (EI-HR). Pre-coated aluminum sheets of silica gel 60 GF254 (Merck) were used as TLC plates to check the purity of compounds. Quantitative determination of nickel was carried out by Inductively Coupled Plasma-Optical Emission Spectrometer (iCAP6500 ICP-OES, Thermo Scientific, Cambridge, United Kingdom). The pH was measured using a Metrohm, 78 l pH/ion meter. Magnetic moments were estimated using a magnetic susceptibility balance (Sherwood Auto, 2005) at room temperature. Metal conductance of metal complexes was recorded by using an InoLab IDS Multi9430 conductivity meter.

### Synthesis of receptors (L1–L4)

The synthesis of receptors (L1–L4) was carried out in two steps following our previously reported protocol37.

### Synthesis of L4-Ni2+ complex

The DMSO (3 ml) solution of L4 (0.2 mmol) and 2 ml water solution of NiCl2.6H2O (0.12 mmol) were mixed and stirred at room temperature for 30 min. The yellow solution of receptor L4 immediately turned to red colored solid product, which was filtered and washed with distilled water.

### UV–visible and fluorescence titrations

Stock solutions of receptors, L1–L4 (1 × 10−3 M) were prepared in DMSO–H2O (v/v = 1:2) using HEPES buffer solution (pH = 7.4). Stock solutions of different guest metal ions (1 × 10−3 M) were prepared by using chloride salts of the respective metals (Al3+, Ca2+, Cd2+, Co2+, Cr3+, Cu2+, Fe3+, Hg2+, K+, Mg2+, Mn2+, Na+, Ni2+, Pb2+, Sr2+ and Sn2+) and the stock solutions (1 × 10−4 M) of different anions like Cl, I, Br, CN, ClO4, F, HSO4, AcO and SCN from TBA salts were prepared in deionized water. For ratiometric titrations, the solutions of various concentrations of receptor with increasing concentration of cations were prepared separately.

### Competition experiments

For Ni2+ the stock solution of receptor L4 (1 × 10−3 M) was prepared in DMSO–H2O (v/v 1:2) using HEPES buffer of pH = 7.4. Stock solution of different guest cations (1 × 10−3 M) were prepared in water and added to 4 mL of the solution of receptor L4 to give 10 equivalents of metal ions. Then Ni2+ solution was added into mixed solutions of each metal ion to make 1 equivalent. A few minutes after mixing, the UV–visible spectra were recorded at room temperature.

### Water sample collection and Ni2+ determination

The drinking water samples, tap water and industrial waste water samples were collected, preserved and stored in plastic containers for Ni2+ analysis. Industrial waste water samples were filtered prior to analysis. Each sample was analyzed in triplicate using receptor L4 and ICP-OES as standard method (Table 3). Spiking and recovery method was used in order to validate chemosensing performance of our newly developed sensor L4. UV–visible spectral measurement of water samples containing Ni2+ was carried out by adding 0.5 mL of receptor L4 to 2.5 mL of sample solutions and pH of solution was maintained at 7.4 using HEPES buffer. The solutions were allowed to stand for 10 min at room temperature and absorption measurements were taken at 537 nm. Filtered water samples were directly used for ICP-OES analysis.

### Colorimetric test strips

The test kits were prepared by immersing filter paper strips in to receptor L4 solution 1 × 10−3 M (DMSO–H2O (v/v 1:2) using HEPES buffer of pH = 7.4) and then dried in air. Then the pure water solution with different Ni2+ concentrations were prepared and the prepared test strips were immersed in water samples and color change from yellow to red was observed.

### Magnetic moments

Magnetic moments of the prepared solid complex were estimated by magnetic susceptibility balance Sherwood (Auto, 2005) at room temperature.