took out debug io:format statements