"where they challenge the legality"