add search function
add search support