Beautify codes