add replacement pattern