add models validation