Added similar transactions logic