Removed extraneous printf calls