finish ligand_factory