Removed most of debug messages