add reference to element