semantic error created, all the classes work

+ inheritence