legalization requirements