Removed unneccessary debugcode