adding base classes