ex1 transitions into a class based system