add ppl calculation