adapt analyze to EDML