legal case analysis