removed code that was used only for temporary debugging.