added a ridiculous amount of colour to debug output (what is wrong with my life?)