added method with transaction gap example