legalization infrastructure