removed unecessary debug code