modified ignore and search working