scanner init