case is a legal term