by using photoelectric means