Added base classes for flip