added flash global var