* create set of output links before creation * find all existing links before creating them * Added small comment