validateMountain() was in for loop