added search function for mean network