added type to filter