add ref to vertex decl