removed debug outputs