Shorten codes to make them better