automating the law environment