tried to use a abstract class in a method, #12