debug ALL THE CODE