diff --git a/packages/binary/valuetransfer/transaction/transaction.go b/packages/binary/valuetransfer/transaction/transaction.go
index dfca7227c14dbd947718d3cf0d5dae27f0985451..b1b4a9188dee1de3e72b6b2c19e155e9aa4c5a37 100644
--- a/packages/binary/valuetransfer/transaction/transaction.go
+++ b/packages/binary/valuetransfer/transaction/transaction.go
@@ -276,7 +276,7 @@ func (transaction *Transaction) String() string {
 // max dataPayload size limit
 const MAX_DATA_PAYLOAD_SIZE = 64 * 1024
 
-// sets yhe dataPayload and its type
+// SetDataPayload sets yhe dataPayload and its type
 func (transaction *Transaction) SetDataPayload(data []byte) error {
 	transaction.dataPayloadMutex.Lock()
 	defer transaction.dataPayloadMutex.Unlock()
@@ -288,7 +288,7 @@ func (transaction *Transaction) SetDataPayload(data []byte) error {
 	return nil
 }
 
-// gets the dataPayload and its type
+// GetDataPayload gets the dataPayload and its type
 func (transaction *Transaction) GetDataPayload() []byte {
 	transaction.dataPayloadMutex.RLock()
 	defer transaction.dataPayloadMutex.RUnlock()
@@ -296,7 +296,7 @@ func (transaction *Transaction) GetDataPayload() []byte {
 	return transaction.dataPayload
 }
 
-// return size of the dataPayload as uint32
+// DataPayloadSize returns the size of the dataPayload as uint32.
 // nil payload as size 0
 func (transaction *Transaction) DataPayloadSize() uint32 {
 	transaction.dataPayloadMutex.RLock()
diff --git a/packages/binary/valuetransfer/transaction/transaction_test.go b/packages/binary/valuetransfer/transaction/transaction_test.go
index 7235fffd12742b47607b24350c0cca303fb4e3db..0a92d549b08e05fee78c2e83049ddbf364c20a49 100644
--- a/packages/binary/valuetransfer/transaction/transaction_test.go
+++ b/packages/binary/valuetransfer/transaction/transaction_test.go
@@ -5,6 +5,9 @@ import (
 	"strings"
 	"testing"
 
+	"strings"
+	"testing"
+
 	"github.com/iotaledger/goshimmer/packages/binary/valuetransfer/address"
 	"github.com/iotaledger/goshimmer/packages/binary/valuetransfer/address/signaturescheme"
 	"github.com/iotaledger/goshimmer/packages/binary/valuetransfer/balance"