Removed debug  code