got rid of a few printf statements