Making truncation a variable