Removed a debug function