stream-lined optical detector