removed duplicate match()