added ligand frequency option