Search: code merge