removed debug write