consider using this as a guard to the pattern match.