removing debugging code