As you suggested, I've peeked in the NLMIXED procedure: it is definitely not trivial - but I strongly hope to get a good start on it:) (Though probably several questions will be raised in this topic soon...) Thanks a lot! Agnes