moving things around & continuing the generator (scanner implementation)