added classes and flows