using interruptions of light beams