removed unneccessary debug code