Corrected Add in Code Functions