I updated to add debug messages and deleted an unused inclusion