Fundamentals of oil and gas accounting