merge with search