replace local variable frequentRenterPoints with function getTotalFrequentRenterPoints