Addition of legacymod