wip - search directive