removed debug console log statement