I actually understand how to do this kind of thing, but not when I'm as tired as I am now. I think this works as you want, but I'll leave it to others to explain why:
Wow! Thanks for the reply, this is excellent. I will do some reading on the meaning of "e" - I though I'd got it, but need to work out the reason for its doubling... Again, many thanks.