Model validation

with customizable message