added nox monitoring code