#15: process transaction and tests
#15: forgot return statement