upon calculating the operating costs