adding a ref to a package