Added function to abstract class