General functions + link-fixes