Update and rename debug to add explain END