added abstract methods to abstract class.
comments added