version 0.2: support transactions