Added searchMacro()