basic model validation