disabled debug, i need to make this a switch