Add check for name already being in list