adding trimming data