added truncate function to description