Transaction class fixed