Debug with encode back in.