deepMatch - need some optimization