replaced gfind with gmatch since deprecated since lua5.1