pre-requisite for filtering the txns