Good point, the only thing is the mediocre doctor still invested more time and more interactions with others people due to time invested to complete the degree which contribute to higher compensation.