FUNCTION VERSION. Light plant and Scanner