add search
search functions/validator