add var global scanner