final_proj.pl removed gloabal var
final_proj.pl replace match to is_match