replacement and hash merged