removed unused function match
fix comment.