Common tools for analysis