by measuring the incident light