Remoevd debugging code