add tag and truncate