legacy_setup