removed debug-printfs