add abstract class example