Making code less verbose