Added truncation and filtering options