removing old debug functions