whoops, never bothered to see if debug could be turned on or off