import and model validation