adding some vars needed in edge