finished searchByPrefix