modified the perso_type logic
Merge pull request #13 from laurenbenichou/master

modified the perso_type logic