modified keysearch