alter function names and set a debug