homework 3 . Add abstract class