error box added
check if instance has enough links as kardinality suggests