by detecting marks or the like