added in OS for both classes for the inheritance