legal appointment