debug of code