implementing delete transactions
changed callback model to callback per type