ex 2 class compiled