forgot to add the debug switch back in