Added model passing into the custom validation function