Class based for analysis