getting it so we can filter by type or status