added global vars
changed unseen var