debugging code removed