add basic validation into Models