Add ability to truncate at a certain length