add an example of function that may be used for validation