based on percentage of earnings