Working on data model for transactions