links to functions corrected