undid debugging code