Improving speed of transactions