replace and modify 'numRes' to 'FromRes'