changed method catif to catIf to keep notation.