Tryed with abstract class