extract defn from merge