removed printf debugging messages from library