added global var & quey string