formal and legal