allow transactions to be filtered by type