Preparation of an income statement should include a detailed computation of