adding exists to filter types