Better if{} else{} formatting