removed all references to debug