adding public requirement to links