module for approximate matching
