removed a lot of debugging options to optimize performance