mod two transaction