minor changes/added add functions