Disclosed is a method for obtaining a bifunctional complex comprising a display molecule part and a coding part wherein a nascent bifunctional complex comprising a chemical reaction site and priming site for enzymatic addition of a tag is reacted at the chemical reaction site with one or more reactants, and provided with respective tag(s) identifying the reactant(s) at the priming site using one or more enzymes.