adding the ability to filter by fields