cleaned up printf