made 3 class