added 2 criteria in transaction entity