Changes to debug