if exists $faclist{$i}{#THIS IS WHERE THE PROBLEM IS