made var global
merged