UV spectroscopy method