Added g-search