changed addpersiondata variable names