Abstracting the class