added assertions for xlink