add an analysis utility
fix a missing require