Put matching in model.js, makes more sense