Modified search gem