unsuccessful attempt to add model validation