add type to filter and formatter