add functions fork