The array() condition is not necessary if you use null before