The origins of legal interpretation and writing legal memos