Trims data