Created search function in bundle