Updated mod_functions with DC examples