Adds better printf statements