Pharmaceutical compositions comprising at least one compound of the formulas (Ia) or (Ib) and a pharmaceutically acceptable carrier wherein the symbols have the following meaning —X— is e.g. and Y being e.g. or the pharmaceutically acceptable salts can be applied to modulate the in-vitro and in-vivo binding processes mediated by E-, P- or L-selectin binding.