add list validation functions.