Thanks for the hints, Richard and Vladimir. And for the code, of course. I had defined for example map2, map3.. map5, but using a list of lists as argument is much better. regards, Vlad