interface to abstract class.