Ah, thanks. After doing the same in an object definition that put me on the right track I think. It is not what I was looking for. The functions should not be part of the object but are just needed to initialise it. I'll fiddle a bit more with it.
Thanks.
