wrap tick in a transaction