removed debug output statements