added function to create var score for personality quiz