complex legacy