adding references to copied code