made the analysis polymorphic (yay)