new classes with inheritence