adding filter by type