added validations for the list model