implementing model validation