Commented if (ligands.length == 100) break;