importance of legal investigations