got an idea, debugging code