trying to suss out the add more and repopulate functions