adding method for merge in Resolve (but not used for now)