setting links to optional