. "when ruling on a case, judges need to consider more than just the law; they also weigh in factors such as social and economic conditions" . . .