added analyze.all() function