added function `referenced`