TA- updated with add functions