cleaned up the debuggin