can't compare @array with [], needs $@array