Understanding and accounting for commodity loans