Factors to consider in total compensation