catch empty arrays for false condition