accounting treatment of investments