Thank's enumerate was the thing. Thanks also for the 2.2 implementation, as I am running 2.2 Joakim -- Joakim Hove / hove at ii.uib.no / (55 5) 84076