add search function

rt