adding base classes and positions