replace new scanner