filter server side by type