removed a lot of debug lines