added perplexity