more explicit filter for type