added transactions and finished app