transactions CRUD working