Added Agent n CommonFunctions