Some ideas for implementing divisor arithmetic on curves