rename

rename mach(int,string) to matchPiece