adding return false for 3 values in array != 3