add reference to borrowed code