Resolvendo encode