Change shortening function