Making code shorter