two methods of earnings