removed debug checks and turned on debugging