adding global vars
mergey merge