Removed debug function.