matching algo written user model