search function with shin